/*配色方案
    背景：rgb(224,207,254),rgb(255,239,255)
    按钮:rgb(181,154,254),rgb(245,189,253)
*/

* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%; /* 重点一 */
    margin: 0 auto;
    background-image: url('../images/background-image.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* 重点二 */
    overflow: auto;
    background-attachment: fixed;
    background-size: cover;

    /*height: 100vh;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*background:linear-gradient(45deg,rgb(181,154,254),rgb(245,189,253)) fixed;*/
}

.container {
    position: relative;
    width: 70rem;
}

/*.container img {*/
/*    width: 70rem;*/
/*    height:70rem;*/
/*    border: 0.1rem solid rgb(224,207,254);*/
/*}*/

.switch span {
    color: #ccc;
    font-size: 1.4rem;
    cursor: pointer;
}

.switch span.active {
    color: rgb(181, 154, 254);
}

.panel {
    width: 30%;
    margin: 10rem 0 1rem;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
}

form {
    margin: 3rem 0 0;
    width: 12rem;
}

form .input {
    position: relative;
    opacity: 1;
    height: 2rem;
    margin: 2rem 0 0;
    width: 100%;
    transition: .4s;
}

.input input {
    outline: none;
    width: 100%;
    height: 30px;
    border-radius: 10px;
    /*border-bottom: .1rem solid rgb(181, 154, 254);*/

    opacity: 0.8;
}

.input::after {
    content: attr(placeholder);
    position: absolute;
    left: 2%;
    top: 0%;
    font-size: 1.3rem;
    color: rgb(129, 101, 207);
    transition: -3s;
}

.input.focus::after {
    top: -70%;
    font-size: 1rem;
}

.login .input#email,
.login .input#repeat {
    margin: 0;
    height: 0;
    opacity: 0;
}

.content a {
    display: block;
    color: rgb(110, 89, 167);
    font-size: .8rem;
    cursor: pointer;
    margin-top: 15px;
    margin-left: 75px;
}

form button {
    border: none;
    outline: none;
    margin: 2rem 0 0;
    width: 100%;
    height: 3.5rem;
    border-radius: 3rem;
    background: linear-gradient(90deg, rgb(181, 154, 254), rgb(245, 189, 253));
    box-shadow: 0 0 8px, rgb(181, 154, 254);
    cursor: pointer;
    color: white;
}

.home-more {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family:'PingFang SC', 'Microsoft YaHei UI', sans-serif;
}

.index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: auto;
    margin-top: 15%;
}


.index a{
    border: 2px solid #91ffa8;
    width: 65px;
    text-align: center;
    height: 25px;
    border-radius: 10px;
    background-color: #91ffa8;
    color: white;
    margin-top: 10px;
    text-decoration: none;
}

